package com.easylinkin.linkappapi.investigation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easylinkin.linkappapi.investigation.entity.InvestigationTask;

import java.util.Map;

/**
 * <p>
 * 排查任务 Mapper 接口
 * </p>
 *
 * @author TongJie
 * @since 2021-04-16
 */
public interface InvestigationTaskMapper extends BaseMapper<InvestigationTask> {

    /**
     * 查询 任务及其处理详情
     * @param investigationTask vo
     * @return
     */
    InvestigationTask getInvestigationTaskWithDetails(InvestigationTask investigationTask);

    /***
     * 查询 大屏隐患排查统计
     * @return
     */
    Map<String,Long> getInvestigationBigScreenCount(InvestigationTask investigationTask);

}
